﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AgvPublic
{
    public class SendModel
    {
        #region Field

        /// <summary>
        /// Agv编号
        /// </summary>
        public int AgvNum { get; set; }

        /// <summary>
        /// 命令码
        /// 0x01 启动AGV
        /// 0x02 停止AGV
        /// 0x04 调度AGV
        /// 0x05 充电命令
        /// 0x06 锁定
        /// 0x07 解锁
        /// 0x08 接货
        /// 0x09 送货
        /// 0x21 充电命令
        /// 0x22 充电撤离命令
        /// </summary>
        public int CmdCode { get; set; }

        /// <summary>
        /// 目标工位
        /// </summary>
        public int TargetStation { get; set; }

        /// <summary>
        /// 方向
        /// 1 前向 2 后向
        /// </summary>
        public int Direction { get; set; }

        /// <summary>
        /// 指令动作类型
        /// 1 启动 2 停止
        /// </summary>
        public int ActionType { get; set; }

        /// <summary>
        /// 盘类型
        /// 1 A盘
        /// 2 B盘
        /// </summary>
        public int PanType { get; set; }

        /// <summary>
        /// 电机状态
        /// 1 -动
        /// 2 -停
        /// </summary>
        public int MachineStatus { get; set; }

        /// <summary>
        /// 目标IP地址
        /// </summary>
        public string targetIp { get; set; }
        #endregion
    }
}
